<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<style>
.formTable{text-align:left;}

</style>
<h1>付款到银行查询</h1>

<script type="text/javascript" src="${ctx}/pages/templete/js/validate/paytobank/query.js"></script>
<form id="form" action="${ctx}/paytobank/doQuery.do" method="POST" target="_blank" >	
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="1.0" selected>1.0</option>
					<option value="1.1">1.1</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>商户订单号：</td>
			<td><input type="text" id="merOrderNum" name="merOrderNum" value="" autoComplete="off"/></td>
			<td align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>	
		<tr>
			<td align=right>企业ID:</td>
			<td>
				<input type="text" id="customerId" name="customerId" value="${config.merchantID }" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="customerIdTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>国付宝账户:</td>
			<td>
				<input type="text" id="userAcct" name="userAcct" value="" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="userAcctTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易开始时间:</td>
			<td>
				<input type="text" id="tranBeginTime" name="tranBeginTime" value="${config.tranBeginDate }" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranBeginDateTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易结束时间:</td>
			<td>
				<input type="text" id="tranEndTime" name="tranEndTime" value="${config.tranEndDate }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranEndDateTip"></span>
			</td>
		</tr>
		
		<tr>
			<td align=right>订单状态:</td>			
			<td align=left>
				<select id="orgTxnStat" name="orgTxnStat" autoComplete="off">
					<option value="" selected>全部</option>
					<option value="1" >处理中</option>
					<option value="2">付款成功</option>
					<option value="3">付款失败</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易来源:</td>
			<td align=left>
				<select id="source" name="source" autoComplete="off">
					<option value="" selected>全部</option>
					<option value="1" >网站</option>
					<option value="2">API</option>					
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>查询对应的交易类型:</td>
			<td><input type="text" id="queryType" name="queryType" value="4025" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="queryTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>分页页码:</td>
			<td><input type="text" id="pageNo" name="pageNo" value="1" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="pageNoTip"></span>
			</td>
		</tr>
		<tr><td align=right>字符集:  </td><td><input type="text"  id="merchantEncode" name="merchantEncode" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr>
			<td width="30%" align=right>报文加密方式:</td>
			<td align=left width="45%">
				<input type="text"  id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left><span id="signTypeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA,3:API</td>
			<td width="25%"></td>
		</tr>

		<tr><td align=right>商户识别码:  </td><td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/></td></tr>
		
		<tr>
			<td colspan=3 width="100%">
				<center>
					
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
	</table>
</form>